package com.ruibang.glass.job.feign;

import com.teaming.cloud.framework2.common.model.ResultBody;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.*;

import java.util.Collection;
import java.util.List;

@FeignClient("glass-equipment")
@Component
public interface EquipmentApi {

    //点检计划
    @RequestMapping(value = "/api/equipment/point/check/plan/pointByDay", method = RequestMethod.GET)
    void pointByDay();

    @RequestMapping(value = "/api/equipment/point/check/plan/pointByWeek", method = RequestMethod.GET)
    void pointByWeek();

    @RequestMapping(value = "/api/equipment/point/check/plan/pointByMonth", method = RequestMethod.GET)
    void pointByMonth();

    @RequestMapping(value = "/api/equipment/point/check/plan/pointByYear", method = RequestMethod.GET)
    void pointByYear();
    //仪表台账
    @RequestMapping(value = "/api/equipment/instrument/register/updateStatusByDayTime", method = RequestMethod.GET)
    void updateStatusByDayTime();

    @RequestMapping(value = "/api/equipment/instrument/register/updateStatusByWeekTime", method = RequestMethod.GET)
    void updateStatusByWeekTime();

    @RequestMapping(value = "/api/equipment/instrument/register/updateStatusByMonthTime", method = RequestMethod.GET)
    void updateStatusByMonthTime();

    @RequestMapping(value = "/api/equipment/instrument/register/updateStatusByYearTime", method = RequestMethod.GET)
    void updateStatusByYearTime();


}
